package cn.as.youdian.server.impl;

import cn.as.youdian.dao.WordDao;
import cn.as.youdian.entities.Word;
import cn.as.youdian.server.WordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class WordServiceImpl implements WordService {
    @Resource
    private WordDao wordDao;

    @Override
    public Word getWord(String word) {
        return wordDao.getWord(word);
    }
}
